// 用户相关的所有请求
import { request } from "@/utils";



// 登录请求
export const userLogin = data => {
  return request.post('/authorizations', data);
};

// 获取用户信息
export const getUserInfo = () => {
  return request.get('/user/profile');
};